{% extends "common/default.html" %}
{% block common %}
<div class="row search">
        <div class="col-md-6">
            <form action="../teacher_search" method="post">
                <div class="input-group" style="width: 300px">
                    <input type="text" class="form-control" name="content"
                           placeholder="请输入要查询的用户名...">
                    <span class="input-group-btn">
		        <button class="btn btn-default" type="submit"><span
                        class="glyphicon glyphicon-search"></span>&nbsp;查询</button>
		      </span>
                </div>
            </form>
        </div>
    <div>
	<table class="table table-hover  table-bordered table-striped" style="margin-bottom: 0px;">
		<tr>
		  	<th>序号</th>
		  	<th>学号</th>
		  	<th>用户名</th>
		  	<th>真实姓名</th>
		  	<th>专业</th>
		  </tr>
		  {% for student in students %}
		  <tr>
		  	    <td>{{student.id }}</td>
		  		<td>{{student.stuNo }}</td>
		  		<td>{{student.userName }}</td>
		  		<td>{{student.trueName }}</td>
		  		<td>{{student.professional }}</td>
		  	</tr>
		  {% endfor %}


	</table>
</div>
{% endblock %}


